<!--
  Generated template for the LoginPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->

<ion-content padding>

	<div class="logo">
		<img src="./assets/imgs/icon.png" />
	</div>
	
	<ion-list>
		<ion-item>
			<ion-label>账&nbsp;&nbsp;号</ion-label>
			<ion-input type="text" [(ngModel)]="inputViewModel.username" placeholder="请输入手机号或会员名" clearInput>
			</ion-input>
		</ion-item>

		<ion-item>
			<ion-label>密&nbsp;&nbsp;码</ion-label>
			<ion-input type="password" [(ngModel)]="inputViewModel.password" placeholder="请输入密码" clearInput>
			</ion-input>
		</ion-item>

	</ion-list>
	
	<div class="done">
		<button ion-button block (click)="loginOnSuccess()">登&nbsp;&nbsp;录</button>
	</div>

</ion-content>
